Author |
Topic |
friendly.name
New Member
Germany
69 Posts |
Posted - 02/13/2006 : 14:45:53
|
Hello, There is a new driver available which supports the touch screen in a very good way. The driver is writen as a X-Input device driver. Have a look at http://www.conan.de/
This driver works perfect for me.
Thanks a lot
Already tested Linux Distri's: SuSE 10.0 / Red Hat EL WS 4 UP2 / Ubuntu 5.10
friendly.name P1510 - T4010 - ST5011 - Windows - Linux |
Edited by - friendly.name on 02/15/2006 16:26:37 |
|
friendly.name
New Member
Germany
69 Posts |
Posted - 02/13/2006 : 14:56:10
|
SETSERIAL
Take care about the P1510 version you bought.
P1510 with XP Professional. Nothing to do ttyS0 is already set as COM1.
P1510 with XP TabletPC Edition Install setserial and enter the following: setserserial /dev/ttyS0 uart 16550a port 0x220 irq 4
How can i start setserial at boot time? Insert the command at: SuSE 9.2 / 9.3 /10.0 /etc/init.d/boot.local setserial /dev/ttyS0 uart 16550 setserial /dev/ttyS0 irq 4 (not really need, better save than sorry) setserial /dev/ttyS0 port 0x220
Fedora Core 4 / Red Hat EL WS 4 /etc/rc.local setserial /dev/ttyS0 uart 16550 setserial /dev/ttyS0 irq 4 (not really need, better save than sorry) setserial /dev/ttyS0 port 0x220
Debian 3.1 (sarge) /usr/share/doc/setserial/serial.conf Modify one of the lines to fit to the needs of the serial port /dev/ttyS0
Ubuntu 5.10 Sorry i have to check. Should work the same way as Debian. but not for shure
Now it's time edit xorg.conf
friendly.name P1510 - T4010 - ST5011 - Windows - Linux |
Edited by - friendly.name on 02/13/2006 15:09:17 |
|
|
friendly.name
New Member
Germany
69 Posts |
Posted - 02/13/2006 : 15:03:14
|
Driver and xorg.conf Driver
Download the driver and copy the file "fujitsu_drv.o" to the appropriate location ("/usr/X11R6/lib/modules/input")
xorg.conf
Add the following (as you can see at www.conan.de)
Section "InputDevice" Identifier "touchscreen" Driver "fujitsu" Option "Device" "/dev/ttyS0" Option "DeviceName" "touchscreen" Option "MinX" "82" Option "MinY" "146" Option "MaxX" "4036" Option "MaxY" "3999" Option "SendCoreEvents" "On" EndSection
Don't forget the "ServerLayout" section, add. InputDevice "touchscreen" "CorePointer"
friendly.name P1510 - T4010 - ST5011 - Windows - Linux |
Edited by - friendly.name on 02/13/2006 15:04:37 |
|
|
regius
Starting Member
1 Posts |
Posted - 03/19/2006 : 17:53:33
|
I have done allt that but the touchscreen really don't want to work. Any ideas? I'm running ubuntu Dapper Drake. |
|
|
friendly.name
New Member
Germany
69 Posts |
Posted - 03/25/2006 : 18:42:11
|
Hello regius, Please check with "setserial" if the com port setting is ok. Please post your xorg.conf if the com port is set the right way.
friendly.name P1510 - T4010 - ST5011 - Windows - Linux |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/14/2006 : 04:32:07
|
I am very impressed with how well Linux runs on my P1510 out of the box. has some issues with the ipw2200 driver due to Mandriva tweaking the 2.6.16 kernel and I still haven't got the suspend to work, but I'm working on it! Does anyone know if the fantastic touchscreen driver on www.conan.de works under xorg 7? I'll try to compile it up if not.
Cheers. |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/14/2006 : 12:13:03
|
Well, the answer is basically no From the errors I get compiling it looks like xorg 7 is fundamentally different in a lot of ways. |
|
|
obscurite
Starting Member
33 Posts |
Posted - 06/15/2006 : 12:39:26
|
I've tried both the conan.de driver (which works just fine) and the perl script driver from samengstrom.com and I have to say that the samengstrom driver I personally find to be more useful because it allows me to drag and click in a way I would expect. I found I had to press very hard with the conan.de driver and dragging didn't work too well, but perhaps it just takes getting used to.
For some unknown reason the samengstrom perl script driver (tablet6.pl on his site) isn't working for me anymore, so I need to look into that.
Next is to find an ideal note taking app (make PDFs for class notes) and set up screen rotation (sounds like I need a second x server running matchbox like sam engstrom does). |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/16/2006 : 04:34:44
|
quote: Originally posted by obscurite
I've tried both the conan.de driver (which works just fine) and the perl script driver from samengstrom.com and I have to say that the samengstrom driver I personally find to be more useful because it allows me to drag and click in a way I would expect. I found I had to press very hard with the conan.de driver and dragging didn't work too well, but perhaps it just takes getting used to.
You have them both working under xorg 7? That would be great! |
|
|
obscurite
Starting Member
33 Posts |
Posted - 06/16/2006 : 11:38:01
|
@ mitchelln
daniel@ramanujan:~$ dpkg -l |grep xorg ii xserver-xorg 7.0.0-0ubuntu45 the X.Org X server
I guess I've got them both running on xorg 7! I thought I was on 6.x for some reason...
I figured out why Sam's script was messing up. Somehow wacdump was gone, so I installed wacom-tools and got it back and now it's fine. |
|
|
obscurite
Starting Member
33 Posts |
Posted - 06/16/2006 : 11:43:05
|
Speaking of xorg 7 - shouldn't I be able to get i915 randr working? Or is that still not implemented... |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/16/2006 : 12:23:21
|
I'm 750 packages into a 1251 package update to take my Mandriva Linux 2006 to the cooker version of 2007. I'll have a play with the i915 stuff when its finished! |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/19/2006 : 09:01:56
|
Well, it looks like 3D Acceleration works fine with Mandrive 2007. You just modprobe i915 and uncomment glx and dri in xorg.conf. Not blistering performance, but not bad. |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/19/2006 : 09:20:55
|
Backlight works as well. Mandriva 2007 ships with 2.6.16 kernel. You have to compile up the lcd and backlight modules. Then echo n > /proc/acpi/video/GFX0/LCD/brightness sets the brightness where n = 1-8. 1 = off and 8 = full brightness. This is really becoming very usable. Now I just have to get the ACPI applet to auto switch the brightness. |
|
|
obscurite
Starting Member
33 Posts |
Posted - 06/21/2006 : 15:39:45
|
@ mitchelln
Any luck with RandR? Also, know of any info or tutorials on how to run two x servers simultaneously (as sam engstrom describes on his site for example). |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/22/2006 : 05:00:59
|
Well, there is some good news. I installed Gnome 2.14 and added the granr applet. This allows to to instantly switch between landscape and portrait. Screen orientation works a treat, but the mouse doesn't seem to switch with it rendering it unusable. Touchscreen driver doesn't cope either. I'm sure there's a way to fix this though. I'll keep you posted. |
|
|
obscurite
Starting Member
33 Posts |
Posted - 06/22/2006 : 16:10:48
|
I know that sam engstrom's perl script "driver" has a rotation command line option. Have you tried that? |
|
|
mitchelln
New Member
66 Posts |
Posted - 06/23/2006 : 11:23:39
|
Yes, that made my day today! So i've got a little script that does "xrandr -o right" and "perl tablet6.pl -cw". Very pleased! Now we just have to bind it into the screen switch somehow... |
|
|
obscurite
Starting Member
33 Posts |
Posted - 07/05/2006 : 14:15:26
|
@mitchelln - congrats on getting it working :) I still haven't gotten xrandr working, although I'm using xorg 7. |
|
|
mitchelln
New Member
66 Posts |
Posted - 07/06/2006 : 12:22:09
|
You have the i915 kernel module loaded? |
|
|
obscurite
Starting Member
33 Posts |
Posted - 07/06/2006 : 15:17:02
|
I have the ubuntu xserver-xorg-driver-i810 package installed, which has the xorg module. Does that count, or do I need a Kernel module as well? lsmod |grep 915 didn't show anything. Xinerama and normal video work fine for me, so I assumed the driver was already loaded as needed, but I'm pretty new at xorg tweaking. |
|
|
phixphi
Starting Member
2 Posts |
Posted - 07/09/2006 : 08:19:03
|
hi all!
please help an almost total newbie to install samengstrom's script with ubuntu 6.06 (dapper drake). first of all i cannot install X11::GUITest. when i run make i get few screens of errors, starting with:
cc -c -I/usr/X11R6/include -I/usr/X/include -Wall -O2 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L GUITest.c GUITest.xs:39:22: error: X11/Xlib.h: No such file or directory GUITest.xs:40:23: error: X11/Xutil.h: No such file or directory GUITest.xs:41:27: error: X11/Intrinsic.h: No such file or directory GUITest.xs:42:28: error: X11/StringDefs.h: No such file or directory GUITest.xs:43:24: error: X11/keysym.h: No such file or directory GUITest.xs:44:34: error: X11/extensions/XTest.h: No such file or directory
any idea? many thanks :-) phixphi |
|
|
mitchelln
New Member
66 Posts |
Posted - 07/10/2006 : 06:42:11
|
quote: Originally posted by obscurite
I have the ubuntu xserver-xorg-driver-i810 package installed, which has the xorg module. Does that count, or do I need a Kernel module as well? lsmod |grep 915 didn't show anything. Xinerama and normal video work fine for me, so I assumed the driver was already loaded as needed, but I'm pretty new at xorg tweaking.
Yes, there is a separate kernel frame buffer module you need to compile up as well. In Kernel config its under Character devices->Direct Rendering Manager->Intel 830Mm 845G->i915 driver. Try a modprobe i915 first to see if ubuntu ships with it. |
Edited by - mitchelln on 07/12/2006 06:15:53 |
|
|
mitchelln
New Member
66 Posts |
Posted - 07/10/2006 : 06:43:40
|
You need to install the xorg development libraries.
Cheers.
quote: Originally posted by phixphi
hi all!
please help an almost total newbie to install samengstrom's script with ubuntu 6.06 (dapper drake). first of all i cannot install X11::GUITest. when i run make i get few screens of errors, starting with:
cc -c -I/usr/X11R6/include -I/usr/X/include -Wall -O2 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L GUITest.c GUITest.xs:39:22: error: X11/Xlib.h: No such file or directory GUITest.xs:40:23: error: X11/Xutil.h: No such file or directory GUITest.xs:41:27: error: X11/Intrinsic.h: No such file or directory GUITest.xs:42:28: error: X11/StringDefs.h: No such file or directory GUITest.xs:43:24: error: X11/keysym.h: No such file or directory GUITest.xs:44:34: error: X11/extensions/XTest.h: No such file or directory
any idea? many thanks :-) phixphi
|
|
|
phixphi
Starting Member
2 Posts |
Posted - 07/10/2006 : 08:45:35
|
mitchelln,
thank you! after installing xorg-dev and wacom-tools works just fine!! find it much easier to use than conan's (****** rightclick..)
phixphi |
|
|
smarinov
Starting Member
1 Posts |
Posted - 07/19/2006 : 14:39:11
|
I have Xenarc 700 Touch screen and in Fedora core 4 kernel- 2.6.8 this driver http://www.egalax.com.tw/eg/drivers.htm#fed work. But I update my system with Fedora 5 kernel 2.6.17 and this is the result of eGalax TouchKit.. and if I start touchconfigurator input device tkpanel0 "badeeprom" ??
(*) Extract files from [./touchkit.setup.sh] to [/tmp/touchkit] tar: touchkit/xf86drv/bin: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/image: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/usb/.tmp_versions: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/usb/bin: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/utility/bin: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/driver/bin: implausibly old time stamp 1970-01-01 02:00:00 tar: touchkit/diag/bin: implausibly old time stamp 1970-01-01 02:00:00 (*) Start installer [/tmp/touchkit/setup]
=== TouchKit for Linux Installer ===
(Step 1) Check Packages Installed [Common] make OK (make-3.80-10.2) tcl OK (tcl-8.4.13-1.1) tk OK (tk-8.4.13-1.1) [Required for Full Mode] imake OK (imake-1.0.1-3) gcc OK (gcc-4.1.1-1.fc5) glibc-devel OK (glibc-devel-2.4-8) kernel-devel OK (kernel-devel-2.6.17-1.2157_FC5)
(Step 2) Select Installation Mode (Q) Which installation mode do you prefer? (1) Compact Mode, (only RS232 and PS/2) or (2) Full Mode (RS232, PS/2 and [USB]) 2 (I) [Full Mode] selected
(Step 3) Rebuild TouchKit for n in include driver utility xf86drv diag usb; do \ make -C $n || exit 1; \ done make[1]: Entering directory `/tmp/touchkit/include' tcl ../utility/tcl2h.tcl configSTR.tcl > configSTR.h tcl ../utility/tcl2h.tcl configINT.tcl > configINT.h tcl ../utility/ini2tcl.tcl touch.ini > touch.tcl make[1]: Leaving directory `/tmp/touchkit/include' make[1]: Entering directory `/tmp/touchkit/driver' gcc -o tpaneld tpaneld.c -g -O -Wall -I. -I../include In file included from tpaneld.c:48: ../include/device.c: In function ‘SendAndWait’: ../include/device.c:148: warning: pointer targets in initialization differ in si gnedness In file included from tpaneld.c:50: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in sig nedness for t in tpaneld; do \ if [ -f $t ]; then \ cp -f $t bin; \ fi; \ done make[1]: Leaving directory `/tmp/touchkit/driver' make[1]: Entering directory `/tmp/touchkit/utility' gcc -o PanelInfo PanelInfo.c -g -O -Wall -I. -I../include In file included from PanelInfo.c:11: ../include/device.c: In function ‘SendAndWait’: ../include/device.c:148: warning: pointer targets in initialization differ in si gnedness In file included from PanelInfo.c:13: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in sig nedness strip PanelInfo gcc -o WriteConf WriteConf.c -g -O -Wall -I. -I../include strip WriteConf for t in PanelInfo WriteConf; do \ if [ -f $t ]; then \ cp -f $t bin; \ fi; \ done make[1]: Leaving directory `/tmp/touchkit/utility' make[1]: Entering directory `/tmp/touchkit/xf86drv' X version: 700 imake -DUseInstalled -I/usr/share/X11/config make -s proceed make[2]: Entering directory `/tmp/touchkit/xf86drv' ############################################################### ## XF86 src does NOT exist; use precompiled binary instead ## ############################################################### make[2]: Leaving directory `/tmp/touchkit/xf86drv' if [ 700 -gt 400 ]; then \ if [ -f touchkit_drv.o ]; then \ cp -f touchkit_drv.o bin; \ fi; \ else \ if [ -f xf86TouchKit.so ]; then \ cp -f xf86TouchKit.so bin; \ fi; \ fi make[1]: Leaving directory `/tmp/touchkit/xf86drv' make[1]: Entering directory `/tmp/touchkit/diag' echo 'CFLAGS = -Wall -ggdb2 -I ../include' > Imakefile echo 'COMMON_HEADER = ../include/eeprom.c' >> Imakefile echo 'LOCAL_LIBRARIES = $(XLIB)' >> Imakefile for t in 4pcal 25pcal drawtest; do \ echo "all:: $t" >> Imakefile; \ echo 'NormalProgramTarget('$t,$t'.o,$(COMMON_HEADER),$(LOCAL_LIBRARIES), )' >> Imakefile; \ done xmkmf imake -DUseInstalled -I/usr/share/X11/config echo '#!/bin/sh' > rbutton.tcl echo '# \' >> rbutton.tcl echo 'exec wish "$0" "$@"' >> rbutton.tcl cat ../include/configINT.tcl >> rbutton.tcl cat ../include/configSTR.tcl >> rbutton.tcl cat ../include/touch.tcl >> rbutton.tcl cat rbutton.base >> rbutton.tcl chmod 755 rbutton.tcl make -f Makefile make[2]: Entering directory `/tmp/touchkit/diag' gcc -m32 -Wall -ggdb2 -I ../include -c -o 4pcal.o 4pcal.c In file included from ../include/eeprom.c:18, from 4pcal.c:74: ../include/device.c: In function ‘SendAndWait’: ../include/device.c:148: warning: pointer targets in initialization differ in si gnedness In file included from 4pcal.c:74: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in sig nedness rm -f 4pcal gcc -m32 -o 4pcal -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/lib 4pcal.o -lXext -lX11 gcc -m32 -Wall -ggdb2 -I ../include -c -o 25pcal.o 25pcal.c In file included from ../include/eeprom.c:18, from 25pcal.c:84: ../include/device.c: In function ‘SendAndWait’: ../include/device.c:148: warning: pointer targets in initialization differ in si gnedness In file included from 25pcal.c:84: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in sig nedness rm -f 25pcal gcc -m32 -o 25pcal -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/lib 25pcal.o -lXext -lX11 gcc -m32 -Wall -ggdb2 -I ../include -c -o drawtest.o drawtest.c In file included from ../include/eeprom.c:18, from drawtest.c:50: ../include/device.c: In function ‘SendAndWait’: ../include/device.c:148: warning: pointer targets in initialization differ in si gnedness In file included from drawtest.c:50: ../include/eeprom.c: In function ‘_ReadEEPROM’: ../include/eeprom.c:59: warning: pointer targets in initialization differ in sig nedness rm -f drawtest gcc -m32 -o drawtest -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/l ib drawtest.o -lXext -lX11 make[2]: Leaving directory `/tmp/touchkit/diag' for t in 4pcal 25pcal drawtest; do \ if [ -f $t ]; then \ strip $t; \ fi; \ done for t in 4pcal 25pcal drawtest rbutton.tcl; do \ if [ -f $t ]; then \ cp -f $t bin; \ fi; \ done make[1]: Leaving directory `/tmp/touchkit/diag' make[1]: Entering directory `/tmp/touchkit/usb' echo gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I ../include gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I ../include gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I ../include usbpnpd.c: In function ‘_is_dup’: usbpnpd.c:74: warning: statement with no effect strip usbpnpd make -C /lib/modules/2.6.17-1.2157_FC5/build SUBDIRS=/tmp/touchkit/usb modules make[2]: Entering directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686' CC [M] /tmp/touchkit/usb/tkusb.o /tmp/touchkit/usb/tkusb.c: In function ‘write_tscreen’: /tmp/touchkit/usb/tkusb.c:381: warning: ‘VERIFY_AREA’ is deprecated (declared at /tmp/touchkit/usb/tkusb.c:365) /tmp/touchkit/usb/tkusb.c:393: warning: ignoring return value of ‘copy_from_user ’, declared with attribute warn_unused_result /tmp/touchkit/usb/tkusb.c:428: warning: ignoring return value of ‘copy_from_user ’, declared with attribute warn_unused_result /tmp/touchkit/usb/tkusb.c:434: warning: ignoring return value of ‘copy_from_user ’, declared with attribute warn_unused_result /tmp/touchkit/usb/tkusb.c: In function ‘read_tscreen’: /tmp/touchkit/usb/tkusb.c:473: warning: ‘VERIFY_AREA’ is deprecated (declared at /tmp/touchkit/usb/tkusb.c:365) /tmp/touchkit/usb/tkusb.c:503: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result /tmp/touchkit/usb/tkusb.c:512: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result Building modules, stage 2. MODPOST CC /tmp/touchkit/usb/tkusb.mod.o LD [M] /tmp/touchkit/usb/tkusb.ko make[2]: Leaving directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686' make[1]: Leaving directory `/tmp/touchkit/usb' : '+-----------------------------------+' : '| Build-All Complete Successfully |' : '+-----------------------------------+'
(Step 4) Install TouchKit (*) Install touch panel daemon [/usr/bin/tpaneld] (*) Install configuration utility [/usr/bin/touchcfg] (*) Install XFree86 driver [/usr/lib/xorg/modules/input/touchkit_drv.o] (*) Generate uninstall script [/usr/bin/uninstall_TouchKit] (*) Update system starting up script [/etc/rc.d/rc.local] (*) Update XFree86 configuration [/etc/X11/xorg.conf] +--------------------------------------+ | Installation Complete Successfully | +--------------------------------------+ (I) Start TouchKit touch panel daemon (I) Start USB module
(I) Please RESTART your X Window Server. [root@localhost ~]# |
|
|
Topic |
|